/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/ |
D | TpmToOsslDesSupport.c | 56 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/ |
D | CryptSym.h | 97 # 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); \
|
D | CryptRand.h | 64 #define DRBG_ENCRYPT(keySchedule, in, out) \ argument 65 TpmCryptEncryptAES(SWIZZLE(keySchedule, in, out))
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptSym.c | 146 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 …]
|
D | CryptRand.c | 105 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 …]
|
D | CryptCmac.c | 101 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/ |
D | TpmToLtcSym.h | 71 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/ |
D | TpmToWolfSym.h | 68 void *keySchedule, 80 #define SWIZZLE(keySchedule, in, out) \ argument 81 (void *)(keySchedule), (BYTE *)(out), (const BYTE *)(in)
|
/external/boringssl/src/ssl/test/runner/hpke/ |
D | hpke.go | 77 …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/ |
D | TpmToOsslSym.h | 95 #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/ |
D | TpmToOsslDesSupport_fp.h | 55 tpmKeyScheduleTDES *keySchedule
|