v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
sha-256.cc File Reference
#include "src/utils/sha-256.h"
#include <stdint.h>
#include <string.h>
Include dependency graph for sha-256.cc:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define ror(value, bits)
 
#define shr(value, bits)
 

Functions

static void v8::internal::SHA256_Transform (LITE_SHA256_CTX *ctx)
 
void v8::internal::SHA256_init (LITE_SHA256_CTX *ctx)
 
void v8::internal::SHA256_update (LITE_SHA256_CTX *ctx, const void *data, size_t len)
 
const uint8_t * v8::internal::SHA256_final (LITE_SHA256_CTX *ctx)
 
const uint8_t * v8::internal::SHA256_hash (const void *data, size_t len, uint8_t *digest)
 

Variables

static const uint32_t v8::internal::K [64]
 
static const HASH_VTAB v8::internal::SHA256_VTAB
 

Macro Definition Documentation

◆ ror

#define ror ( value,
bits )
Value:
(((value) >> (bits)) | ((value) << (32 - (bits))))
std::unique_ptr< ValueMirror > value

Definition at line 30 of file sha-256.cc.

◆ shr

#define shr ( value,
bits )
Value:
((value) >> (bits))

Definition at line 31 of file sha-256.cc.