File: sha.lua

package info (click to toggle)
lua-nginx-string 0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 192 kB
  • sloc: makefile: 20
file content (19 lines) | stat: -rw-r--r-- 236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- Copyright (C) by Yichun Zhang (agentzh)


local ffi = require "ffi"


local _M = { _VERSION = '0.11' }


ffi.cdef[[
typedef unsigned long SHA_LONG;
typedef unsigned long long SHA_LONG64;

enum {
    SHA_LBLOCK = 16
};
]];

return _M