Lines Matching refs:out

16 int ossl_cipher_hw_generic_cbc(PROV_CIPHER_CTX *dat, unsigned char *out,  in ossl_cipher_hw_generic_cbc()  argument
20 (*dat->stream.cbc) (in, out, len, dat->ks, dat->iv, dat->enc); in ossl_cipher_hw_generic_cbc()
22 CRYPTO_cbc128_encrypt(in, out, len, dat->ks, dat->iv, dat->block); in ossl_cipher_hw_generic_cbc()
24 CRYPTO_cbc128_decrypt(in, out, len, dat->ks, dat->iv, dat->block); in ossl_cipher_hw_generic_cbc()
29 int ossl_cipher_hw_generic_ecb(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_ecb() argument
38 (*dat->stream.ecb) (in, out, len, dat->ks, dat->enc); in ossl_cipher_hw_generic_ecb()
42 (*dat->block) (in + i, out + i, dat->ks); in ossl_cipher_hw_generic_ecb()
48 int ossl_cipher_hw_generic_ofb128(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_ofb128() argument
53 CRYPTO_ofb128_encrypt(in, out, len, dat->ks, dat->iv, &num, dat->block); in ossl_cipher_hw_generic_ofb128()
59 int ossl_cipher_hw_generic_cfb128(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_cfb128() argument
64 CRYPTO_cfb128_encrypt(in, out, len, dat->ks, dat->iv, &num, dat->enc, in ossl_cipher_hw_generic_cfb128()
71 int ossl_cipher_hw_generic_cfb8(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_cfb8() argument
76 CRYPTO_cfb128_8_encrypt(in, out, len, dat->ks, dat->iv, &num, dat->enc, in ossl_cipher_hw_generic_cfb8()
83 int ossl_cipher_hw_generic_cfb1(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_cfb1() argument
89 CRYPTO_cfb128_1_encrypt(in, out, len, dat->ks, dat->iv, &num, in ossl_cipher_hw_generic_cfb1()
96 CRYPTO_cfb128_1_encrypt(in, out, MAXBITCHUNK * 8, dat->ks, in ossl_cipher_hw_generic_cfb1()
99 out += MAXBITCHUNK; in ossl_cipher_hw_generic_cfb1()
103 CRYPTO_cfb128_1_encrypt(in, out, len * 8, dat->ks, dat->iv, &num, in ossl_cipher_hw_generic_cfb1()
111 int ossl_cipher_hw_generic_ctr(PROV_CIPHER_CTX *dat, unsigned char *out, in ossl_cipher_hw_generic_ctr() argument
117 CRYPTO_ctr128_encrypt_ctr32(in, out, len, dat->ks, dat->iv, dat->buf, in ossl_cipher_hw_generic_ctr()
120 CRYPTO_ctr128_encrypt(in, out, len, dat->ks, dat->iv, dat->buf, in ossl_cipher_hw_generic_ctr()
132 int ossl_cipher_hw_chunked_cbc(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_chunked_cbc() argument
136 ossl_cipher_hw_generic_cbc(ctx, out, in, MAXCHUNK); in ossl_cipher_hw_chunked_cbc()
139 out += MAXCHUNK; in ossl_cipher_hw_chunked_cbc()
142 ossl_cipher_hw_generic_cbc(ctx, out, in, inl); in ossl_cipher_hw_chunked_cbc()
146 int ossl_cipher_hw_chunked_cfb8(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_chunked_cfb8() argument
154 ossl_cipher_hw_generic_cfb8(ctx, out, in, inl); in ossl_cipher_hw_chunked_cfb8()
157 out += chunk; in ossl_cipher_hw_chunked_cfb8()
164 int ossl_cipher_hw_chunked_cfb128(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_chunked_cfb128() argument
172 ossl_cipher_hw_generic_cfb128(ctx, out, in, inl); in ossl_cipher_hw_chunked_cfb128()
175 out += chunk; in ossl_cipher_hw_chunked_cfb128()
182 int ossl_cipher_hw_chunked_ofb128(PROV_CIPHER_CTX *ctx, unsigned char *out, in ossl_cipher_hw_chunked_ofb128() argument
186 ossl_cipher_hw_generic_ofb128(ctx, out, in, MAXCHUNK); in ossl_cipher_hw_chunked_ofb128()
189 out += MAXCHUNK; in ossl_cipher_hw_chunked_ofb128()
192 ossl_cipher_hw_generic_ofb128(ctx, out, in, inl); in ossl_cipher_hw_chunked_ofb128()