OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OCB_NONCE_LENGTH
(Results
1 - 5
of
5
) sorted by null
/system/keymaster/
auth_encrypted_key_blob.cpp
66
if (!nonce->reserve(
OCB_NONCE_LENGTH
) || !tag->reserve(OCB_TAG_LENGTH))
69
if (!copy_from_buf(buf_ptr, end, nonce->peek_write(),
OCB_NONCE_LENGTH
) ||
77
if (!nonce->advance_write(
OCB_NONCE_LENGTH
) || !tag->advance_write(OCB_TAG_LENGTH))
99
!nonce->Deserialize(buf_ptr, end) || nonce->available_read() !=
OCB_NONCE_LENGTH
||
ocb_utils.h
31
static const int
OCB_NONCE_LENGTH
= 12;
ocb_utils.cpp
109
if (ae_init(ctx->get(), derived_key.get(), AES_BLOCK_SIZE /* key length */,
OCB_NONCE_LENGTH
,
125
if (nonce.available_read() !=
OCB_NONCE_LENGTH
)
161
if (nonce.available_read() !=
OCB_NONCE_LENGTH
|| tag.available_read() != OCB_TAG_LENGTH)
key_blob_test.cpp
60
nonce_.reserve(
OCB_NONCE_LENGTH
);
61
EXPECT_EQ(1, RAND_bytes(nonce_.peek_write(),
OCB_NONCE_LENGTH
));
62
nonce_.advance_write(
OCB_NONCE_LENGTH
);
soft_keymaster_context.cpp
525
if (nonce.available_read() !=
OCB_NONCE_LENGTH
|| tag.available_read() != OCB_TAG_LENGTH)
[
all
...]
Completed in 785 milliseconds