Home
last modified time | relevance | path

Searched refs:keySchedule (Results 1 – 11 of 11) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/
DTpmToOsslDesSupport.c56 tpmKeyScheduleTDES *keySchedule in TDES_set_encrypt_key() argument
59 DES_set_key_unchecked((const_DES_cblock *)key, &keySchedule[0]); in TDES_set_encrypt_key()
60 DES_set_key_unchecked((const_DES_cblock *)&key[8], &keySchedule[1]); in TDES_set_encrypt_key()
64 keySchedule[2] = keySchedule[0]; in TDES_set_encrypt_key()
67 &keySchedule[2]); in TDES_set_encrypt_key()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptSym.h97 # define ENCRYPT(keySchedule, in, out) \ argument
98 encrypt(SWIZZLE(keySchedule, in, out))
100 # define DECRYPT(keySchedule, in, out) \ argument
101 decrypt(SWIZZLE(keySchedule, in, out))
109 TpmCryptSetEncryptKey##ALG(key, keySizeInBits, &keySchedule.alg); \
114 TpmCryptSetDecryptKey##ALG(key, keySizeInBits, &keySchedule.alg); \
DCryptRand.h64 #define DRBG_ENCRYPT(keySchedule, in, out) \ argument
65 TpmCryptEncryptAES(SWIZZLE(keySchedule, in, out))
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptSym.c146 tpmCryptKeySchedule_t keySchedule; in CryptSymmetricEncrypt() local
187 ENCRYPT(&keySchedule, iv, tmp); in CryptSymmetricEncrypt()
206 ENCRYPT(&keySchedule, iv, iv); in CryptSymmetricEncrypt()
228 ENCRYPT(&keySchedule, iv, iv); in CryptSymmetricEncrypt()
241 ENCRYPT(&keySchedule, iv, iv); in CryptSymmetricEncrypt()
264 ENCRYPT(&keySchedule, dIn, dOut); in CryptSymmetricEncrypt()
300 tpmCryptKeySchedule_t keySchedule; in CryptSymmetricDecrypt() local
375 DECRYPT(&keySchedule, tmp, dOut); in CryptSymmetricDecrypt()
390 ENCRYPT(&keySchedule, iv, tmp); in CryptSymmetricDecrypt()
411 ENCRYPT(&keySchedule, iv, tmp); in CryptSymmetricDecrypt()
[all …]
DCryptRand.c105 DRBG_KEY_SCHEDULE keySchedule; member
133 DRBG_ENCRYPT(&dfState->keySchedule, &temp, pIv); in DfCompute()
162 DRBG_ENCRYPT_SETUP(&dfKey[0], DRBG_KEY_SIZE_BITS, &dfState->keySchedule); in DfStart()
324 DRBG_KEY_SCHEDULE *keySchedule, in EncryptDRBG() argument
343 DRBG_ENCRYPT(keySchedule, iv, temp); in EncryptDRBG()
373 DRBG_ENCRYPT(keySchedule, iv, dOut); in EncryptDRBG()
382 DRBG_ENCRYPT(keySchedule, iv, temp); in EncryptDRBG()
405 DRBG_KEY_SCHEDULE *keySchedule, // IN: the key schedule (optional) in DRBG_Update() argument
418 if(keySchedule == NULL) in DRBG_Update()
426 keySchedule = &localKeySchedule; in DRBG_Update()
[all …]
DCryptCmac.c101 tpmCryptKeySchedule_t keySchedule; in CryptCmacData() local
115 ENCRYPT(&keySchedule, cmacState->iv.t.buffer, cmacState->iv.t.buffer); in CryptCmacData()
142 tpmCryptKeySchedule_t keySchedule; in CryptCmacEnd() local
157 ENCRYPT(&keySchedule, subkey.t.buffer, subkey.t.buffer); in CryptCmacEnd()
181 ENCRYPT(&keySchedule, cState->iv.t.buffer, cState->iv.t.buffer); in CryptCmacEnd()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/Ltc/
DTpmToLtcSym.h71 void *keySchedule
75 #define SWIZZLE(keySchedule, in, out) \ argument
76 (const void *)(in), (void *)(out), (void *)(keySchedule)
/external/ms-tpm-20-ref/TPMCmd/tpm/include/Wolf/
DTpmToWolfSym.h68 void *keySchedule,
80 #define SWIZZLE(keySchedule, in, out) \ argument
81 (void *)(keySchedule), (BYTE *)(out), (const BYTE *)(in)
/external/boringssl/src/ssl/test/runner/hpke/
Dhpke.go77 …context, err = keySchedule(hpkeModeBase, X25519WithHKDFSHA256, kdfID, aeadID, sharedSecret, info, …
88 return keySchedule(hpkeModeBase, X25519WithHKDFSHA256, kdfID, aeadID, sharedSecret, info, nil, nil)
98 …context, err = keySchedule(hpkeModePSK, X25519WithHKDFSHA256, kdfID, aeadID, sharedSecret, info, p…
109 …context, err = keySchedule(hpkeModePSK, X25519WithHKDFSHA256, kdfID, aeadID, sharedSecret, info, p…
171 func keySchedule(mode uint8, kemID, kdfID, aeadID uint16, sharedSecret, info, psk, pskID []byte) (*… func
/external/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/
DTpmToOsslSym.h95 #define SWIZZLE(keySchedule, in, out) \ argument
96 (const BYTE *)(in), (BYTE *)(out), (void *)(keySchedule)
103 void *keySchedule
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DTpmToOsslDesSupport_fp.h55 tpmKeyScheduleTDES *keySchedule