Lines Matching refs:key_len
393 size_t key_len; in php_sha512_crypt_r() local
424 key_len = strlen(key); in php_sha512_crypt_r()
427 char *tmp = (char *) alloca (key_len + __alignof__ (uint64_t)); in php_sha512_crypt_r()
429 memcpy(tmp + __alignof__(uint64_t) - (tmp - (char *) 0) % __alignof__(uint64_t), key, key_len); in php_sha512_crypt_r()
442 sha512_process_bytes(key, key_len, &ctx); in php_sha512_crypt_r()
455 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
461 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
468 for (cnt = key_len; cnt > 64; cnt -= 64) { in php_sha512_crypt_r()
475 for (cnt = key_len; cnt > 0; cnt >>= 1) { in php_sha512_crypt_r()
479 sha512_process_bytes(key, key_len, &ctx); in php_sha512_crypt_r()
490 for (cnt = 0; cnt < key_len; ++cnt) { in php_sha512_crypt_r()
491 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
498 cp = p_bytes = alloca(key_len); in php_sha512_crypt_r()
499 for (cnt = key_len; cnt >= 64; cnt -= 64) { in php_sha512_crypt_r()
531 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
543 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
550 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
629 memset(p_bytes, '\0', key_len); in php_sha512_crypt_r()
634 memset(copied_key, '\0', key_len); in php_sha512_crypt_r()