Lines Matching defs:ctx
375 #define ROUNDS(ctx) ((ctx)->rounds) argument
388 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) argument
422 #define ROUNDS(ctx) ((ctx)->rounds) argument
425 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) argument
645 static block getL(const ae_ctx* ctx, unsigned tz) { in getL()
683 void ae_free(ae_ctx* ctx) { in ae_free()
693 int ae_clear(ae_ctx* ctx) /* Zero ae_ctx and undo initialization */ in ae_clear()
705 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len) { in ae_init()
750 static block gen_offset_from_nonce(ae_ctx* ctx, const void* nonce) { in gen_offset_from_nonce()
791 static void process_ad(ae_ctx* ctx, const void* ad, int ad_len, int final) { in process_ad()
920 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad, in ae_encrypt()
1131 int ae_decrypt(ae_ctx* ctx, const void* nonce, const void* ct, int ct_len, const void* ad, in ae_decrypt()