Lines Matching refs:ocb

107     OCB128_CONTEXT ocb;  member
358 if (!CRYPTO_ocb128_init(&octx->ocb, in aesni_ocb_init_key()
374 if (CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen) in aesni_ocb_init_key()
383 CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen); in aesni_ocb_init_key()
712 if (!CRYPTO_ocb128_init(&octx->ocb, in aes_t4_ocb_init_key()
727 if (CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen) in aes_t4_ocb_init_key()
736 CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen); in aes_t4_ocb_init_key()
3795 return CRYPTO_ocb128_copy_ctx(&new_octx->ocb, &octx->ocb, in aes_ocb_ctrl()
3824 if (!CRYPTO_ocb128_init(&octx->ocb, in aes_ocb_init_key()
3842 if (!CRYPTO_ocb128_init(&octx->ocb, in aes_ocb_init_key()
3855 if (!CRYPTO_ocb128_init(&octx->ocb, in aes_ocb_init_key()
3870 if (CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen) in aes_ocb_init_key()
3879 CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen); in aes_ocb_init_key()
3946 if (!CRYPTO_ocb128_aad(&octx->ocb, buf, AES_BLOCK_SIZE)) in aes_ocb_cipher()
3949 if (!CRYPTO_ocb128_encrypt(&octx->ocb, buf, out, in aes_ocb_cipher()
3953 if (!CRYPTO_ocb128_decrypt(&octx->ocb, buf, out, in aes_ocb_cipher()
3971 if (!CRYPTO_ocb128_aad(&octx->ocb, in, len - trailing_len)) in aes_ocb_cipher()
3975 (&octx->ocb, in, out, len - trailing_len)) in aes_ocb_cipher()
3979 (&octx->ocb, in, out, len - trailing_len)) in aes_ocb_cipher()
4000 if (!CRYPTO_ocb128_encrypt(&octx->ocb, octx->data_buf, out, in aes_ocb_cipher()
4004 if (!CRYPTO_ocb128_decrypt(&octx->ocb, octx->data_buf, out, in aes_ocb_cipher()
4013 (&octx->ocb, octx->aad_buf, octx->aad_buf_len)) in aes_ocb_cipher()
4021 if (CRYPTO_ocb128_finish(&octx->ocb, in aes_ocb_cipher()
4028 if (CRYPTO_ocb128_tag(&octx->ocb, octx->tag, 16) != 1) in aes_ocb_cipher()
4039 CRYPTO_ocb128_cleanup(&octx->ocb); in aes_ocb_cleanup()
4043 BLOCK_CIPHER_custom(NID_aes, 128, 16, 12, ocb, OCB,
4045 BLOCK_CIPHER_custom(NID_aes, 192, 16, 12, ocb, OCB,
4047 BLOCK_CIPHER_custom(NID_aes, 256, 16, 12, ocb, OCB,