Lines Matching refs:size_t
168 static size_t find_cipher_data_index(int nid)
170 size_t i;
175 return (size_t)-1;
178 static size_t get_cipher_data_index(int nid)
180 size_t i = find_cipher_data_index(nid);
182 if (i != (size_t)-1)
241 const unsigned char *in, size_t inl)
250 size_t nblocks, ivlen;
322 const unsigned char *in, size_t inl)
326 size_t nblocks, len;
413 static int devcrypto_test_cipher(size_t cipher_data_index)
427 size_t i;
536 size_t i;
548 size_t i = get_cipher_data_index(nid);
550 if (i == (size_t)-1)
563 size_t i = get_cipher_data_index(nid);
571 size_t i;
593 size_t i;
604 size_t i;
613 else if ((i = find_cipher_data_index(EVP_CIPHER_get_nid(EVP))) != (size_t)-1)
623 size_t i;
710 static size_t find_digest_data_index(int nid)
712 size_t i;
717 return (size_t)-1;
720 static size_t get_digest_data_index(int nid)
722 size_t i = find_digest_data_index(nid);
724 if (i != (size_t)-1)
764 static int digest_op(struct digest_ctx *ctx, const void *src, size_t srclen,
779 static int digest_update(EVP_MD_CTX *ctx, const void *data, size_t count)
867 static int devcrypto_test_digest(size_t digest_data_index)
881 size_t i;
893 size_t i;
978 size_t i = get_digest_data_index(nid);
980 if (i == (size_t)-1)
993 size_t i = get_digest_data_index(nid);
1001 size_t i;
1023 size_t i;
1034 size_t i;
1043 else if ((i = find_digest_data_index(EVP_MD_get_type(EVP))) != (size_t)-1)
1053 size_t i;