Lines Matching refs:oPadKey
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()
55 for(pb = oPadKey->buffer, i = blockSize; i > 0; i--) in _cpri__StartHMAC()
63 TPM2B * oPadKey, // IN: the HMAC key in oPad format in _cpri__CompleteHMAC() argument
76 _cpri__UpdateHash(&localState, oPadKey->size, oPadKey->buffer); in _cpri__CompleteHMAC()