Lines Matching refs:key_len
336 size_t key_len; in sha512_crypt_r() local
366 key_len = strlen(key); in sha512_crypt_r()
369 char *tmp = (char *)alloca(key_len + __alignof__(uint64_t)); in sha512_crypt_r()
372 key, key_len); in sha512_crypt_r()
386 sha512_process_bytes(key, key_len, &ctx); in sha512_crypt_r()
398 sha512_process_bytes(key, key_len, &alt_ctx); in sha512_crypt_r()
404 sha512_process_bytes(key, key_len, &alt_ctx); in sha512_crypt_r()
411 for (cnt = key_len; cnt > 64; cnt -= 64) in sha512_crypt_r()
417 for (cnt = key_len; cnt > 0; cnt >>= 1) in sha512_crypt_r()
421 sha512_process_bytes(key, key_len, &ctx); in sha512_crypt_r()
430 for (cnt = 0; cnt < key_len; ++cnt) in sha512_crypt_r()
431 sha512_process_bytes(key, key_len, &alt_ctx); in sha512_crypt_r()
437 cp = p_bytes = alloca(key_len); in sha512_crypt_r()
438 for (cnt = key_len; cnt >= 64; cnt -= 64) in sha512_crypt_r()
466 sha512_process_bytes(p_bytes, key_len, &ctx); in sha512_crypt_r()
476 sha512_process_bytes(p_bytes, key_len, &ctx); in sha512_crypt_r()
482 sha512_process_bytes(p_bytes, key_len, &ctx); in sha512_crypt_r()
555 memset(p_bytes, '\0', key_len); in sha512_crypt_r()
560 memset(copied_key, '\0', key_len); in sha512_crypt_r()