Lines Matching refs:key_len
360 size_t key_len; in php_sha256_crypt_r() local
390 key_len = strlen(key); in php_sha256_crypt_r()
393 char *tmp = (char *) alloca(key_len + __alignof__(uint32_t)); in php_sha256_crypt_r()
394 …y = memcpy(tmp + __alignof__(uint32_t) - (tmp - (char *) 0) % __alignof__(uint32_t), key, key_len); in php_sha256_crypt_r()
408 sha256_process_bytes(key, key_len, &ctx); in php_sha256_crypt_r()
421 sha256_process_bytes(key, key_len, &alt_ctx); in php_sha256_crypt_r()
427 sha256_process_bytes(key, key_len, &alt_ctx); in php_sha256_crypt_r()
434 for (cnt = key_len; cnt > 32; cnt -= 32) { in php_sha256_crypt_r()
441 for (cnt = key_len; cnt > 0; cnt >>= 1) { in php_sha256_crypt_r()
445 sha256_process_bytes(key, key_len, &ctx); in php_sha256_crypt_r()
456 for (cnt = 0; cnt < key_len; ++cnt) { in php_sha256_crypt_r()
457 sha256_process_bytes(key, key_len, &alt_ctx); in php_sha256_crypt_r()
464 cp = p_bytes = alloca(key_len); in php_sha256_crypt_r()
465 for (cnt = key_len; cnt >= 32; cnt -= 32) { in php_sha256_crypt_r()
496 sha256_process_bytes(p_bytes, key_len, &ctx); in php_sha256_crypt_r()
508 sha256_process_bytes(p_bytes, key_len, &ctx); in php_sha256_crypt_r()
515 sha256_process_bytes(p_bytes, key_len, &ctx); in php_sha256_crypt_r()
581 memset(p_bytes, '\0', key_len); in php_sha256_crypt_r()
587 memset(copied_key, '\0', key_len); in php_sha256_crypt_r()