Searched refs:c20_ctx (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/crypto/cipher_extra/ |
D | e_chacha20poly1305.c | 121 struct aead_chacha20_poly1305_ctx *c20_ctx = in aead_chacha20_poly1305_init() local 133 if (key_len != sizeof(c20_ctx->key)) { in aead_chacha20_poly1305_init() 137 OPENSSL_memcpy(c20_ctx->key, key, key_len); in aead_chacha20_poly1305_init() 265 const struct aead_chacha20_poly1305_ctx *c20_ctx = in aead_chacha20_poly1305_seal_scatter() local 269 c20_ctx->key, out, out_tag, out_tag_len, max_out_tag_len, nonce, in aead_chacha20_poly1305_seal_scatter() 278 const struct aead_chacha20_poly1305_ctx *c20_ctx = in aead_xchacha20_poly1305_seal_scatter() local 288 CRYPTO_hchacha20(derived_key, c20_ctx->key, nonce); in aead_xchacha20_poly1305_seal_scatter() 347 const struct aead_chacha20_poly1305_ctx *c20_ctx = in aead_chacha20_poly1305_open_gather() local 350 return chacha20_poly1305_open_gather(c20_ctx->key, out, nonce, nonce_len, in, in aead_chacha20_poly1305_open_gather() 359 const struct aead_chacha20_poly1305_ctx *c20_ctx = in aead_xchacha20_poly1305_open_gather() local [all …]
|