Searched refs:TICKET_IV_BYTES (Results 1 – 1 of 1) sorted by relevance
/third_party/mbedtls/library/ |
D | ssl_ticket.c | 54 #define TICKET_IV_BYTES 12 macro 59 TICKET_IV_BYTES + \ 63 TICKET_IV_BYTES + \ 310 unsigned char *state_len_bytes = iv + TICKET_IV_BYTES; in mbedtls_ssl_ticket_write() 344 if ((ret = ctx->f_rng(ctx->p_rng, iv, TICKET_IV_BYTES)) != 0) { in mbedtls_ssl_ticket_write() 359 if ((status = psa_aead_encrypt(key->key, key->alg, iv, TICKET_IV_BYTES, in mbedtls_ssl_ticket_write() 369 iv, TICKET_IV_BYTES, in mbedtls_ssl_ticket_write() 427 unsigned char *enc_len_p = iv + TICKET_IV_BYTES; in mbedtls_ssl_ticket_parse() 470 if ((status = psa_aead_decrypt(key->key, key->alg, iv, TICKET_IV_BYTES, in mbedtls_ssl_ticket_parse() 479 iv, TICKET_IV_BYTES, in mbedtls_ssl_ticket_parse()
|