Lines Matching refs:nonce
71 TEE_OperationMode mode, const void *nonce, in __gcm_init() argument
85 memcpy(state->ctr, nonce, nonce_len); in __gcm_init()
88 ghash_update_pad_zero(state, nonce, nonce_len); in __gcm_init()
126 size_t key_len, const void *nonce, in internal_aes_gcm_init() argument
137 return __gcm_init(&ctx->state, ek, mode, nonce, nonce_len, tag_len); in internal_aes_gcm_init()
371 const void *nonce, size_t nonce_len, in internal_aes_gcm_enc() argument
379 res = __gcm_init(&state, enc_key, TEE_MODE_ENCRYPT, nonce, nonce_len, in internal_aes_gcm_enc()
394 const void *nonce, size_t nonce_len, in internal_aes_gcm_dec() argument
402 res = __gcm_init(&state, enc_key, TEE_MODE_DECRYPT, nonce, nonce_len, in internal_aes_gcm_dec()
463 const uint8_t *nonce, size_t nonce_len, in aes_gcm_init() argument
468 key_len, nonce, nonce_len, tag_len); in aes_gcm_init()