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()
369 const void *nonce, size_t nonce_len, in internal_aes_gcm_enc() argument
377 res = __gcm_init(&state, enc_key, TEE_MODE_ENCRYPT, nonce, nonce_len, in internal_aes_gcm_enc()
392 const void *nonce, size_t nonce_len, in internal_aes_gcm_dec() argument
400 res = __gcm_init(&state, enc_key, TEE_MODE_DECRYPT, nonce, nonce_len, in internal_aes_gcm_dec()
461 const uint8_t *nonce, size_t nonce_len, in aes_gcm_init() argument
466 key_len, nonce, nonce_len, tag_len); in aes_gcm_init()