Lines Matching defs:key_len
84 size_t key_len;
119 key_len = strlen(key);
122 tmp = (char *)alloca(key_len + ALIGN64);
123 key = copied_key = memcpy(tmp + ALIGN64 - PTR_2_INT(tmp) % ALIGN64, key, key_len);
150 EVP_DigestUpdate(ctx, (const unsigned char *)key, key_len);
165 EVP_DigestUpdate(alt_ctx, (const unsigned char *)key, key_len);
171 EVP_DigestUpdate(alt_ctx, (const unsigned char *)key, key_len);
177 for (cnt = key_len; cnt > 64; cnt -= 64) {
184 for (cnt = key_len; cnt > 0; cnt >>= 1) {
188 EVP_DigestUpdate(ctx, (const unsigned char *)key, key_len);
202 for (cnt = 0; cnt < key_len; cnt++) {
203 EVP_DigestUpdate(alt_ctx, (const unsigned char *)key, key_len);
210 cp = p_bytes = alloca(key_len);
211 for (cnt = key_len; cnt >= 64; cnt -= 64) {
247 EVP_DigestUpdate(ctx, (const unsigned char *)p_bytes, key_len);
259 EVP_DigestUpdate(ctx, (const unsigned char *)p_bytes, key_len);
266 EVP_DigestUpdate(ctx, (const unsigned char *)p_bytes, key_len);
334 if (p_bytes) memset(p_bytes, '\0', key_len);
336 if (copied_key) memset(copied_key, '\0', key_len);