Lines Matching defs:datasize
58 g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize,
85 crp->crp_payload_length = datasize;
92 crypto_use_buf(crp, data, datasize);
107 g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize,
167 if (EVP_CipherUpdate(ctx, data, &outsize, data, datasize) == 0) {
171 assert(outsize == (int)datasize);
185 g_eli_crypto_encrypt(u_int algo, u_char *data, size_t datasize,
193 return (g_eli_crypto_cipher(algo, 1, data, datasize, key, keysize));
197 g_eli_crypto_decrypt(u_int algo, u_char *data, size_t datasize,
205 return (g_eli_crypto_cipher(algo, 0, data, datasize, key, keysize));