Searched refs:oPadKey (Results 1 – 6 of 6) sorted by relevance
/external/tpm2/ |
D | stubs_hash.c | 15 TPM2B * oPadKey // OUT: the key prepared for the oPad round in _cpri__StartHMAC() argument 31 _cpri__CompleteHash(&localState, digestSize, oPadKey->buffer); in _cpri__StartHMAC() 32 oPadKey->size = digestSize; in _cpri__StartHMAC() 37 memcpy(oPadKey->buffer, key, keySize); in _cpri__StartHMAC() 38 oPadKey->size = keySize; in _cpri__StartHMAC() 41 pb = oPadKey->buffer; in _cpri__StartHMAC() 42 for(i = oPadKey->size; i > 0; i--) in _cpri__StartHMAC() 45 for(i = blockSize - oPadKey->size; i > 0; i--) in _cpri__StartHMAC() 48 oPadKey->size = blockSize; in _cpri__StartHMAC() 53 _cpri__UpdateHash(state, oPadKey->size, oPadKey->buffer); in _cpri__StartHMAC() [all …]
|
D | CpriHash.c | 571 TPM2B *oPadKey // OUT: the key prepared for the oPad round in _cpri__StartHMAC() argument 587 _cpri__CompleteHash(&localState, digestSize, oPadKey->buffer); in _cpri__StartHMAC() 588 oPadKey->size = digestSize; in _cpri__StartHMAC() 593 memcpy(oPadKey->buffer, key, keySize); in _cpri__StartHMAC() 594 oPadKey->size = keySize; in _cpri__StartHMAC() 597 pb = oPadKey->buffer; in _cpri__StartHMAC() 598 for(i = oPadKey->size; i > 0; i--) in _cpri__StartHMAC() 601 for(i = blockSize - oPadKey->size; i > 0; i--) in _cpri__StartHMAC() 604 oPadKey->size = blockSize; in _cpri__StartHMAC() 609 _cpri__UpdateHash(state, oPadKey->size, oPadKey->buffer); in _cpri__StartHMAC() [all …]
|
D | CpriHash_fp.h | 69 TPM2B *oPadKey // OUT: the key prepared for the oPad round 85 TPM2B *oPadKey, // IN: the HMAC key in oPad format
|
D | RSAKeySieve.c | 727 TPM2B_HASH_BLOCK oPadKey; in KDFaContextStart() local 733 &oPadKey.b); in KDFaContextStart() 735 _cpri__UpdateHash(&(ktx->oPadCtx), oPadKey.b.size, oPadKey.b.buffer); in KDFaContextStart()
|
D | CpriRSA.c | 1169 TPM2B_HASH_BLOCK oPadKey; in _cpri__GenerateKeyRSA() local 1227 _cpri__StartHMAC(hashAlg, FALSE, &h1, seed->size, seed->buffer, &oPadKey.b); in _cpri__GenerateKeyRSA() 1229 _cpri__UpdateHash(&h2, oPadKey.b.size, oPadKey.b.buffer); in _cpri__GenerateKeyRSA()
|
D | part4.txt | 27089 414 TPM2B *oPadKey // OUT: the key prepared for the oPad round 27106 431 _cpri__CompleteHash(&localState, digestSize, oPadKey->buffer); 27107 432 oPadKey->size = digestSize; 27112 437 memcpy(oPadKey->buffer, key, keySize); 27113 438 oPadKey->size = keySize; 27116 441 pb = oPadKey->buffer; 27117 442 for(i = oPadKey->size; i > 0; i--) 27121 446 for(i = blockSize - oPadKey->size; i > 0; i--) 27125 450 oPadKey->size = blockSize; 27138 458 _cpri__UpdateHash(state, oPadKey->size, oPadKey->buffer); [all …]
|