Lines Matching refs:ctx
101 void CRYPTO_gcm128_init(GCM128_CONTEXT *ctx, void *key, block128_f block);
102 void CRYPTO_gcm128_setiv(GCM128_CONTEXT *ctx, const unsigned char *iv,
104 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const unsigned char *aad,
106 int CRYPTO_gcm128_encrypt(GCM128_CONTEXT *ctx,
109 int CRYPTO_gcm128_decrypt(GCM128_CONTEXT *ctx,
112 int CRYPTO_gcm128_encrypt_ctr32(GCM128_CONTEXT *ctx,
115 int CRYPTO_gcm128_decrypt_ctr32(GCM128_CONTEXT *ctx,
118 int CRYPTO_gcm128_finish(GCM128_CONTEXT *ctx, const unsigned char *tag,
120 void CRYPTO_gcm128_tag(GCM128_CONTEXT *ctx, unsigned char *tag, size_t len);
121 void CRYPTO_gcm128_release(GCM128_CONTEXT *ctx);
125 void CRYPTO_ccm128_init(CCM128_CONTEXT *ctx,
128 int CRYPTO_ccm128_setiv(CCM128_CONTEXT *ctx, const unsigned char *nonce,
130 void CRYPTO_ccm128_aad(CCM128_CONTEXT *ctx, const unsigned char *aad,
132 int CRYPTO_ccm128_encrypt(CCM128_CONTEXT *ctx, const unsigned char *inp,
134 int CRYPTO_ccm128_decrypt(CCM128_CONTEXT *ctx, const unsigned char *inp,
136 int CRYPTO_ccm128_encrypt_ccm64(CCM128_CONTEXT *ctx, const unsigned char *inp,
139 int CRYPTO_ccm128_decrypt_ccm64(CCM128_CONTEXT *ctx, const unsigned char *inp,
142 size_t CRYPTO_ccm128_tag(CCM128_CONTEXT *ctx, unsigned char *tag, size_t len);
146 int CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx,