Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for KDSA (0.07 sec)

  1. src/crypto/ecdsa/ecdsa_s390x.s

    // license that can be found in the LICENSE file.
    
    //go:build !purego
    
    #include "textflag.h"
    
    // func kdsa(fc uint64, params *[4096]byte) (errn uint64)
    TEXT ·kdsa(SB), NOSPLIT|NOFRAME, $0-24
    	MOVD fc+0(FP), R0     // function code
    	MOVD params+8(FP), R1 // address parameter block
    
    loop:
    	KDSA R0, R4      // compute digital signature authentication
    	BVS  loop        // branch back if interrupted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 891 bytes
    - Viewed (0)
  2. src/crypto/ecdsa/ecdsa_s390x.go

    	"errors"
    	"internal/cpu"
    	"io"
    	"math/big"
    )
    
    // kdsa invokes the "compute digital signature authentication"
    // instruction with the given function code and 4096 byte
    // parameter block.
    //
    // The return value corresponds to the condition code set by the
    // instruction. Interrupted invocations are handled by the
    // function.
    //
    //go:noescape
    func kdsa(fc uint64, params *[4096]byte) (errn uint64)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/internal/cpu/cpu_s390x.go

    		S390X.HasSHA3 = kimd.Has(sha3...) && klmd.Has(sha3...)
    		S390X.HasKDSA = facilities.Has(msa9) // elliptic curves
    		if S390X.HasKDSA {
    			kdsa := kdsaQuery()
    			S390X.HasECDSA = kdsa.Has(ecdsaVerifyP256, ecdsaSignP256, ecdsaVerifyP384, ecdsaSignP384, ecdsaVerifyP521, ecdsaSignP521)
    			S390X.HasEDDSA = kdsa.Has(eddsaVerifyEd25519, eddsaSignEd25519, eddsaVerifyEd448, eddsaSignEd448)
    		}
    	}
    
    	S390X.HasVX = isSet(HWCap, hwcap_VX)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 17:11:03 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  4. src/internal/cpu/cpu_s390x.s

    	RET
    
    // func kdsaQuery() queryResult
    TEXT ·kdsaQuery(SB), NOSPLIT|NOFRAME, $0-16
    	MOVD $0, R0         // set function code to 0 (KLMD-Query)
    	MOVD $ret+0(FP), R1 // address of 16-byte return value
    	KDSA R0, R4      // compute digital signature authentication
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 03:55:32 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/s390x/anames.go

    	"LAX",
    	"LAXG",
    	"LAO",
    	"LAOG",
    	"LMY",
    	"LMG",
    	"STMY",
    	"STMG",
    	"STCK",
    	"STCKC",
    	"STCKE",
    	"STCKF",
    	"CLEAR",
    	"KM",
    	"KMC",
    	"KLMD",
    	"KIMD",
    	"KDSA",
    	"KMA",
    	"KMCTR",
    	"VA",
    	"VAB",
    	"VAH",
    	"VAF",
    	"VAG",
    	"VAQ",
    	"VACC",
    	"VACCB",
    	"VACCH",
    	"VACCF",
    	"VACCG",
    	"VACCQ",
    	"VAC",
    	"VACQ",
    	"VACCC",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 16:41:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/s390x.s

    	SYNC                           // 07e0
    
    	KM	R2, R4                 // b92e0024
    	KMC	R2, R6                 // b92f0026
    	KLMD	R2, R8                 // b93f0028
    	KIMD	R0, R4                 // b93e0004
    	KDSA	R0, R8                 // b93a0008
    	KMA	R2, R6, R4              // b9296024
    	KMCTR   R2, R6, R4              // b92d6024
    
    	// vector add and sub instructions
    	VAB	V3, V4, V4              // e743400000f3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 03:55:32 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/s390x/asmz.go

    	// Break point instruction(0x0001 opcode)
    	{i: 73, as: ABRRK},
    
    	// 2 byte no-operation
    	{i: 66, as: ANOPH},
    
    	// crypto instructions
    
    	// KM
    	{i: 124, as: AKM, a1: C_REG, a6: C_REG},
    
    	// KDSA
    	{i: 125, as: AKDSA, a1: C_REG, a6: C_REG},
    
    	// KMA
    	{i: 126, as: AKMA, a1: C_REG, a2: C_REG, a6: C_REG},
    
    	// vector instructions
    
    	// VRX store
    	{i: 100, as: AVST, a1: C_VREG, a6: C_SOREG},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
Back to top